import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { PetsRoutingModule } from './pets-routing.module';
import { StationListComponent } from './station/list/list.component';
import { StationEditComponent } from './station/edit/edit.component';
import { PageHeaderModule } from '@delon/abc/page-header';
import { NzCardModule } from 'ng-zorro-antd/card';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzSwitchModule } from 'ng-zorro-antd/switch';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzDrawerModule } from 'ng-zorro-antd/drawer';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzInputModule } from 'ng-zorro-antd/input';
import { AlainThemeModule } from '@delon/theme';
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { VolunteerListComponent } from './volunteer/list/list.component';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { VolunteerEditComponent } from './volunteer/edit/edit.component';
import { BaikeListComponent } from './baike/list/list.component';
import { NzMenuModule } from 'ng-zorro-antd/menu';
import { NzLayoutModule } from 'ng-zorro-antd/layout';
import { BaikeEditComponent } from './baike/edit/edit.component';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzImageModule } from 'ng-zorro-antd/image';
import { BlogEditComponent } from './blog/edit/edit.component';
import { BlogListComponent } from './blog/list/list.component';
import { NzSkeletonModule } from 'ng-zorro-antd/skeleton';
import { MessageListComponent } from './message/list/list.component';
import { ProblemListComponent } from './problem/list/list.component';
import { ProblemEditComponent } from './problem/edit/edit.component';

const COMPONENTS = [
  StationListComponent,
  VolunteerListComponent,
  BaikeListComponent,
  BlogListComponent,
  MessageListComponent,
  ProblemListComponent,
];
const COMPONENTS_NOROUNT = [StationEditComponent, VolunteerEditComponent, BaikeEditComponent, BlogEditComponent, ProblemEditComponent];

@NgModule({
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT],
  imports: [
    CommonModule,
    PetsRoutingModule,
    NzCardModule,
    ReactiveFormsModule,
    NzDrawerModule,
    NzFormModule,
    NzTableModule,
    NzPopconfirmModule,
    NzDividerModule,
    NzButtonModule,
    NzInputModule,
    PageHeaderModule,
    NzSwitchModule,
    FormsModule,
    NzSelectModule,
    AlainThemeModule,
    NzInputNumberModule,
    NzIconModule,
    NzRadioModule,
    NzDatePickerModule,
    NzMenuModule,
    NzLayoutModule,
    NzUploadModule,
    NzModalModule,
    NzImageModule,
    NzSkeletonModule,
  ],
})
export class PetsModule {}
